<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<base href="<?php echo base_url(); ?>" />
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 
		<title><?php echo $template['title']; ?></title> 		
				<link type="text/css" href="css/admin/start/jquery-ui-1.8.12.custom.css" rel="stylesheet" />	
				<link href="style/css/transdmin.css" rel="stylesheet" type="text/css" media="screen" />
				<link href="style/css/button.css" rel="stylesheet" type="text/css" media="screen" />
				<!-- <link href="js/bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css" media="screen" /> -->
				<!-- <link href="js/bootstrap/css/bootstrap-responsive.css" rel="stylesheet" type="text/css" media="screen" /> -->
				<!--[if IE 6]><link rel="stylesheet" type="text/css" media="screen" href="style/css/ie6.css" /><![endif]-->
				<!--[if IE 7]><link rel="stylesheet" type="text/css" media="screen" href="style/css/ie7.css" /><![endif]-->
				
				<!-- JavaScripts-->
				<script type="text/javascript" src="js/admin/jquery-1.3.2.min.js"></script>
				<script type="text/javascript" src="js/admin/core.js"></script>
				<script type="text/javascript" src="js/jquery.validate.min.js"></script>
				<script type="text/javascript" src="tiny_mce/tiny_mce.js"></script>
				<script type="text/javascript" src="tiny_mce/config.js"></script>
				<link rel="stylesheet" type="text/css" href="css/admin/paginate.css" media="screen"/>
				<link rel="stylesheet" type="text/css" href="css/pagination.css" media="screen"/>

				</script>
				<link rel="stylesheet" type="text/css" href="css/admin/ddsmoothmenu.css" />
				<link rel="stylesheet" type="text/css" href="css/admin/ddsmoothmenu-v.css" />
				<script type="text/javascript" src="js/admin/ddsmoothmenu.js">
				
				/***********************************************
				* Smooth Navigational Menu- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
				* This notice MUST stay intact for legal use
				* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
				***********************************************/
				
				</script>
				
				<script type="text/javascript">
				
				ddsmoothmenu.init({
					mainmenuid: "smoothmenu1", //menu DIV id
					orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
					classname: 'ddsmoothmenu', //class added to menu's outer DIV
					//customtheme: ["#1c5a80", "#18374a"],
					contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
				})
				
				ddsmoothmenu.init({
					mainmenuid: "smoothmenu2", //Menu DIV id
					orientation: 'v', //Horizontal or vertical menu: Set to "h" or "v"
					classname: 'ddsmoothmenu-v', //class added to menu's outer DIV
					//customtheme: ["#804000", "#482400"],
					contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
				})
				
				</script>
		<?php echo $template['metadata']; ?>
	</head>
	<body> 
	<table>
		<tr>
			<td><a href="admin_front"><img src="style/img/transdmin-light.gif" /></a></td>
		</tr>
	</table> 
	<div id="menu_bar"><?php include_once '_menu.inc.php'; ?></div>
	<div id="main-content">
		<table class="tbContainer">
		<tbody>
		<tr>
		<td align="left">
		<?php echo $template['body']; ?>
		<div id="footer">
		<p align="center" style="padding:0 10px 0 0">คณะสาธารณสุขศาสตร์ มหาวิทยาลัยมหิดล  Copyright @ 2011 All Rights Reserved. </p>
		</div>
		</td>
		</tr>
		</tbody>
		</table>
	</div>	
	</body>
</html>